<?php
// Load Header
$this->set("title_for_layout", __('Công năng',true));
echo $this->Html->css('customScrollbar', 'stylesheet', array('type' => 'text/css'));
echo $this->Html->css('news_detail', 'stylesheet', array('type' => 'text/css'));
?>
<div class="content_above">
	<div id="mcs3_container" class="main_content">
		<div class="customScrollBox">
			<div class="container">
				<div class="wd-detail-article content">
					<h4 class="wd-title"><?php __('Công năng');?></h4>
					<?php echo $detail['Feature']['content'];?>
					<div class="wd-other-news">
						<h3>Tin khác</h3>
						<ul>
                  <?php foreach ($others as $item):?>
							<li>
								<a href="<?php echo $html->url(array('plugin' => 'features', 'controller' => 'features', 'action' => 'view', $item['Feature']['alias']));?>"><?php echo $this->text->new_truncate($item['Feature']['title'], 35)?></a>
							</li>
						  <?php endforeach;?>							
						</ul>
					</div>
				</div>
			</div>
			<div class="dragger_container">
				<div class="dragger"></div>
			</div>
		</div>
	</div>
	<?php    
    $news_category = $this->requestAction('elements/get_news_category');
    ?>
    <div class="right_content">
		<?php echo $this->element('news_categories');?>     	
    </div>
</div>
<?php
echo $this->Html->script('jquery-ui.min.js', array('type' => 'text/javascript'));	
echo $this->Html->script('jquery.mousewheel.min.js', array('type' => 'text/javascript'));	
echo $this->Html->script('jquery.easing.1.3.js', array('type' => 'text/javascript'));	
echo $this->Html->script('news.js', array('type' => 'text/javascript'));
echo $this->Html->script('jquery.mCustomScrollbar.js', array('type' => 'text/javascript')); ?>